from django_filters import rest_framework as filters

from system import models


class MenuFilter(filters.FilterSet):
	name = filters.CharFilter(field_name="name",lookup_expr='icontains')

	class Meta:
		model = models.Menu
		fields = ['name']
